import { request } from '@/utils/request';

import { dictResp } from './model';

export const getDict = (params: string) => {
  return request.get<dictResp[]>({
    url: `/platform/dict/type/${params}`,
  });
};
